/*
 * PublishUtil.java
 *
 * Created on October 21, 2008, 9:00 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.util;

/**
 *
 * @author nestor.carrasco
 */
public class PublishUtil {
    
   public static String checkForNullOrEmpty(String value)    {
       return ((value == null || value.equals("")) ? "" : value);
   }
   
   public static String checkNull( String value, String replaceStr){
       return value == null ? replaceStr : value;
   }
}
